.class public Lcom/flyfish/moregames/FlyfishMoreGames;
.super Ljava/lang/Object;
.source "FlyfishMoreGames.java"


# static fields
.field public static final GAME_ICON:Ljava/lang/String; = "game_icon"

.field public static final GAME_INFO:Ljava/lang/String; = "game_info"

.field public static final GAME_NAME:Ljava/lang/String; = "game_name"

.field public static final GAME_PACKAGE:Ljava/lang/String; = "game_package"


# instance fields
.field private context:Landroid/content/Context;

.field private game_icons:[I

.field private game_infos:[Ljava/lang/String;

.field private game_names:[Ljava/lang/String;

.field private game_packages:[Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;[I[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
    .locals 0
    .parameter "context"
    .parameter "game_icons"
    .parameter "game_names"
    .parameter "game_infos"
    .parameter "game_packages"

    .prologue
    .line 16
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 18
    iput-object p1, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->context:Landroid/content/Context;

    .line 19
    iput-object p2, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_icons:[I

    .line 20
    iput-object p3, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_names:[Ljava/lang/String;

    .line 21
    iput-object p4, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_infos:[Ljava/lang/String;

    .line 22
    iput-object p5, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_packages:[Ljava/lang/String;

    .line 23
    return-void
.end method


# virtual methods
.method public showMoreGames()V
    .locals 3

    .prologue
    .line 27
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 28
    .local v0, intent:Landroid/content/Intent;
    iget-object v1, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->context:Landroid/content/Context;

    const-class v2, Lcom/flyfish/moregames/MoreGamesActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 29
    const-string v1, "game_icon"

    iget-object v2, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_icons:[I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[I)Landroid/content/Intent;

    .line 30
    const-string v1, "game_name"

    iget-object v2, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_names:[Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;

    .line 31
    const-string v1, "game_info"

    iget-object v2, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_infos:[Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;

    .line 32
    const-string v1, "game_package"

    iget-object v2, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->game_packages:[Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;

    .line 33
    iget-object v1, p0, Lcom/flyfish/moregames/FlyfishMoreGames;->context:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 34
    return-void
.end method
